#ifndef QNBUTLS_H
#define QNBUTLS_H

#include <QObject>

class QNBUtls:public QObject
{
    Q_OBJECT

public:
    QNBUtls();

    static time_t curTime();
    static QString getStringValue(QJsonObject& obj, const QString& name, const QString& defVal);

    static QString getTmpDataDir();
    static QString getAuthDataDir();
    static bool deleteDir(const QString &dirName);


};

#endif // QNBUTLS_H
